//
//  AboSignInApple.h
//  EyuGameSDK
//
//  Created by 李长春 on 2021/9/1.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void (^applesignindata)(NSDictionary *successResult);
typedef void (^applesignerror)(NSError *failResult);

@interface AboSignInApple : NSObject

//苹果登录单例
+(instancetype)signInAppleManager;

// 处理授权
- (void)handleAuthorizationAppleIDButtonPressSuccess:(applesignindata)myResult fail:(applesignerror)myError;

// 如果存在iCloud Keychain 凭证或者AppleID 凭证提示用户
- (void)perfomExistingAccountSetupFlowsSuccess:(applesignindata)myResult fail:(applesignerror)myError;


@end

NS_ASSUME_NONNULL_END
